package com.utilcase.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MessageStatus {
    PENDING("pending"),

    PROCESSING("processing"),

    PROCESSED("processed"),

    FAILED("failed");

    @EnumValue // 标记数据库存的值是code
    private final String code;

}